#ifndef SKIPFISHTOOLHANDLER_H
#define SKIPFISHTOOLHANDLER_H

#include "ToolHandler.h"
#include <wx/string.h>

using namespace std;

struct SkipfishConfigData {
    wxString username;
    wxString password;
    wxString customCookie;
    int maxDepth;
    int maxTotalRequest;
    bool dontDescendInto5xxLocations;
    wxString writeOutputTo;
    bool logWarningsAboutMixedContent;
    wxString loadWordlist;
    bool dontLearnNewWordForTheSite;
    bool dontUpdateWordlistBaseOnTheScan;
    int maxGlobalTCPConnections;
    int maxCosecutiveHttpFails;
    int totalRequestTimeout;
};

class SkipfishToolHandler : public ToolHandler
{
    public:
        SkipfishToolHandler( SkipfishConfigData *config );
        virtual ~SkipfishToolHandler();

        bool ExecuteScan();
    protected:
    private:
        SkipfishConfigData *config;
};

#endif // SKIPFISHTOOLHANDLER_H
